package com.cqjtu.drive.mapper;

import com.cqjtu.drive.pojo.Exam;
import org.apache.ibatis.annotations.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface ExamMapper {

    Exam getExamById(String eId);

    void insertExam(Exam exam);

    void updateExam(Exam exam);

    void deleteExam(String eId);

    List<Exam> getAllExams();
}
